package com.qiyu.tech.tcc.starter.constants;

/**
 * @author linhao
 * @date created in 3:24 下午 2020/11/5
 */
public class CommonConstants {

    public  enum StockFreezeEnum {

        LOCKING(0,"锁定中"),
        UN_LOCK(1,"已解除"),
        LOCK_FAIL(2,"锁定失败");

        int code;
        String des;

        StockFreezeEnum(int code, String des) {
            this.code = code;
            this.des = des;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getDes() {
            return des;
        }

        public void setDes(String des) {
            this.des = des;
        }
    }
}
